package com.didispace.web;

import org.springframework.web.bind.annotation.RestController;

@RestController
public class ComputeApiController implements ComputeApi{


    @Override
    public Integer addFeign(Integer a, Integer b) {
        return a + b;
    }

    @Override
    public Integer throwsBizException() {
        throw new RuntimeException("业务异常！");
    }
}
